package com.hl.sfzy.service.myService;

import com.hl.sfzy.entity.my.MyConsult;
import com.hl.sfzy.mapper.my.MyConsultMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyConsultService {
    @Autowired
    private MyConsultMapper myConsultMapper;

    //查看我的咨询
    public List<MyConsult> myConsultList(int userId,int pageNo,int pageSize){
        return myConsultMapper.myConsultList(userId,pageNo,pageSize);
    }
}
